package com.cskaoyan.service;

import com.cskaoyan.bean.CskaoyanmallAddress;
import com.cskaoyan.bean.vo.WxAddressVo;


import java.util.List;
import java.util.Map;

public interface AddressService {
    Map<String, Object> querySelective(Integer userId, String name, Integer page, Integer limit, String sort, String order);

    List<WxAddressVo> queryAll();

    CskaoyanmallAddress queryAddressById(Integer id);

    Integer deleteAddressById(CskaoyanmallAddress cskaoyanmallAddress);

    Integer insertAddress(CskaoyanmallAddress cskaoyanmallAddress);

    Integer updateAddress(CskaoyanmallAddress cskaoyanmallAddress);
}
